<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{
            padding: 0;
            margin:0;
        }
        .parent{
            width:200px;
            border:1px solid red;
            text-align: justify;
        }
        .son::after{
            content:"";
            width:100%;
            height:20px;
            display: inline-block;
        }
    </style>
</head>
<body>
    <div class="parent">
        <span class="son">上海</span>
        <span class="son">上海活动</span>
        <span class="son">北京活动</span>
    </div>
</body>
</html>